import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { checkLogin } from './store.js'
import { clearAllReplies } from './utils/clearReplies.js'

// 初始化时清除所有帖子回复
clearAllReplies()

// 在应用初始化前检查登录状态
checkLogin()

const app = createApp(App)

app.use(router)

app.mount('#app')
